runtime.pageAlloc.scavenge (method)
4 uses
runtime (current package)
mgcscavenge.go#L395: r := mheap_.pages.scavenge(n, nil, false)
mgcscavenge.go#L675: func (p *pageAlloc) scavenge(nbytes uintptr, shouldStop func() bool, force bool) uintptr {
mheap.go#L1331: released := h.pages.scavenge(bytesToScavenge, func() bool {
mheap.go#L1691: released := h.pages.scavenge(^uintptr(0), nil, true)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)